package cn.bdqn.dao;

import cn.bdqn.entity.Staff;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StaffDao {

    Staff queryById(Integer staffId);

    List<Staff> queryAll();

    long count(Staff staff);

    int insert(Staff staff);
    
    int update(Staff staff);

    int deleteById(Integer staffId);

    Staff login(@Param("uname") String uname,@Param("pwd") String pwd);
}

